package com.xw.bo.ks.entity.exception;

public enum KsPath {

    NO(-1,"","","GET"),


    /**
     * 商家获取代发订单列表
     */
    OPEN_DROPSHIPPING_ORDER_MERCHANT_LIST(0,"/open/seller/order/cps/list","open.dropshipping.order.merchant.list","GET"),

    /**
     * 分销达人推广订单列表(游标方式)
     */
    open_distribution_cps_distributor_order_cursor_list(3,"/open/distribution/cps/distributor/order/cursor/list","open.distribution.cps.distributor.order.cursor.list","GET"),

    /**
     * 查询快赚客分销订单
     */
    open_distribution_cps_kwaimoney_order_list(4,"/open/distribution/cps/kwaimoney/order/list","open.distribution.cps.kwaimoney.order.list","GET"),


    /**
     * 获取站外分销选品频道列表
     */
    open_distribution_cps_kwaimoney_selection_channel_list(6,"/open/distribution/cps/kwaimoney/selection/channel/list","open.distribution.cps.kwaimoney.selection.channel.list","GET"),

    /**
     * 获取站外分销商品列表
     */
    open_distribution_cps_kwaimoney_selection_item_list(7,"/open/distribution/cps/kwaimoney/selection/item/list","open.distribution.cps.kwaimoney.selection.item.list","GET"),

    /**
     * 分销团长订单列表(游标方式)
     */
    open_distribution_cps_leader_order_cursor_list(8,"/open/distribution/cps/leader/order/cursor/list","open.distribution.cps.leader.order.cursor.list","GET"),

    /**
     * 团长查询招商活动列表
     */
    OPEN_DISTRIBUTION_INVESTMENT_ACTIVITY_OPEN_LIST(19,"/open/distribution/investment/activity/open/list","open.distribution.investment.activity.open.list","GET"),

    /**
     * 招商活动商品详情接口
     */
    open_distribution_investment_activity_item_detail(37,"/open/distribution/investment/activity/item/detail","open.distribution.investment.activity.item.detail","GET"),

    /**
     * 招商活动商品详情接口，批量同步时使用
     */
    OPEN_DISTRIBUTION_INVESTMENT_ACTIVITY_ITEM_DETAIL_FULL(41,"/open/distribution/investment/activity/item/detail","open.distribution.investment.activity.item.detail","GET"),

    /**
     * 获取用户信息
     */
    OPEN_USER_INFO_GET(36,"/open/user/info/get","open.user.info.get","GET"),

    /**
     * 获取商品类目列表
     */
    OPEN_ITEM_CATEGORY(39,"/open/item/category","open.item.category","GET"),

    /**
     * 团长招商活动已报名商品列表
     */
    OPEN_DISTRIBUTION_INVESTMENT_ACTIVITY_OPEN_ITEM_LIST(40,"/open/distribution/investment/activity/open/item/list","open.distribution.investment.activity.open.item.list","GET"),

    /**
     * 类目信息列表
     */
//    open_distribution_public_category_list(26,"/open/distribution/public/category/list","open.distribution.public.category.list","GET"),

    /**
     * 获取分销订单列表(游标方式)
     */
    open_seller_order_cps_list(34,"/open/seller/order/cps/list","open.seller.order.cps.list","GET");

    private int code;
    private String urlPath;
    private String method;
    // 请求方式，get或者Post
    private String requestMethod = "GET";

    KsPath(int code, String urlPath, String method, String requestMethod){
        this.code = code;
        this.urlPath = urlPath;
        this.method = method;
        this.requestMethod = requestMethod;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getUrlPath() {
        return urlPath;
    }

    public void setUrlPath(String urlPath) {
        this.urlPath = urlPath;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }
}
